package com.example.mymatch.dao;

import com.example.mymatch.model.Pm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IPm {
    //添加党员信息
    int insertPm(Pm pm);
    //修改党员信息
    int updatePm(Pm pm);
    //删除党员信息
    int deletePm(Pm pm);
    //党员查询
    List<Pm> getAllPm(Pm pm);
    //查询单条数据
    Pm getPm(Pm pm);
}
